<h1>Articles</h1>

<ul>
    <% @articles.each do |article| %>
        <% unless article.archived? %>
        <li><%= link_to article.title, article_path(article) %></li>
        <% end %>
    <% end %>
</ul>

<%= link_to "New Article", new_article_path%>